﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Mall.Register" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>注册页面</title>
    <style type="text/css">
        #RegisterForm 
        {
            width: 300px;
            margin: auto;
            border: 1px solid black;
            text-align: center;
            font-size: 20px;
        }
        #TextBox1, #TextBox2 
        {
            width: 140px;
        }
    </style>
</head>
<body style="text-align: center">
    <h1 style="color: Red; margin-top: 50px">XX商城，欢迎你</h1><br />
    <form id="RegisterForm" runat="server">
    <div style="margin-top: 10px; ">
        <asp:Label ID="Label1" runat="server" Text="Label" style="color: Red; font-size: 24px;">注&nbsp;&nbsp;册</asp:Label><br />
    </div>
    <div style="margin-top: 10px; margin-bottom: 20px ">
        <asp:Panel ID="RegisterPanel" runat="server">
            <asp:Label ID="Label2" runat="server" Text="用户名：" ></asp:Label>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
            <asp:Label ID="Label3" runat="server" Text="密码：" style="margin-left: 20px" ></asp:Label>
            <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox><br />
            <asp:Label ID="Label4" runat="server" Text="性别：" style="margin-left: 1px" ></asp:Label>
            <asp:RadioButton ID="RadioButton1" runat="server" Text="男" Checked="true" GroupName="sex" style="margin-left: 15px" />
            <asp:RadioButton ID="RadioButton2" runat="server" Text="女" GroupName="sex" style="margin-left: 26px" /><br />
            <asp:Label ID="Label5" runat="server" Text="爱好："></asp:Label>
            <asp:CheckBox ID="CheckBox1" runat="server" Text="看书" Checked="true" />
            <asp:CheckBox ID="CheckBox2" runat="server" Text="化妆" />
            <asp:CheckBox ID="CheckBox3" runat="server" Text="旅游" /><br /><br />
            <asp:Button ID="Button1" runat="server" Text="提  交" style="font-size: 15px" 
                onclick="Button1_Click" />
            <asp:Button ID="Button2" runat="server" Text="重  置" 
                style="font-size: 15px; margin-left: 60px" onclick="Button2_Click" />
        </asp:Panel>
    </div>
    </form>
</body>
</html>
